<?php

class CommonController extends Controller{
	
	public function __construct(){
		
		parent::__construct();
		
		if(!isset($_SESSION['aid']) || !isset($_SESSION['aname'])){
			go(U('Login/index'));
		}
	}	
	
}
